@import url("function.less");
@import url("skin.less");
body{background-color:@bgc}
.f-fr{float: right}
.f-fl{float: left}
.pd1{padding: 40px 0 25px;}
.f-cb{
  .clearfix();
}
.j_ImgLoad{
  img{
    background: url("../img/loading.gif") center no-repeat;
  }
}
.m-topbar {
  background-color: #f6f6f6;
  border-bottom: 1px solid #ebebeb;
  color: #666;
}
.m-top-nav {
  height: 27px;
  line-height: 28px;
  a {
    color: #666;
    text-decoration: none;
    &:hover{color: #f40;}
  }
 .top-navMenu{
      a{padding-right:15px;}
  }
  .index,.shopping, .favorite,.pay_hl{
    background: url("../../web/img/surprise.png") no-repeat;
    padding-left: 15px;
  }
  .loginInfo {
    height: 27px;
    overflow: hidden;
    margin-right: 10px;
    .index{ background-position:-83px -62px;padding-right: 10px;}
  }
  .top-navMenu{
    .shopping{background-position:-83px -91px}
    .favorite{background-position:-83px -117px}
    .pay_hl{background-position:-83px -141px}
  }
}
.g-hd{
  width: 100%; background-color: @hbgc;
  .m-logo{ display:block;float: left;
    
}
  .m-sch{
    width: 660px; height: 60px; float: right;color:#7d7c7c;
    .sch-keywords{
      margin-top: 10px;
      padding-left: 5px;
      a{margin-right: 10px; color:#7d7c7c}
    }
  }
  .m-nav{
    width: 100%; height:36px; background-color: @navbgc;
    .alltype{
      position: relative;
      z-index: 100;
      .z-crt {
        float: left;
        width: 190px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
        color: #fff;
        display: block;
        text-align: center;
        background-color: @navshop;
        .font-yh();
      }
      .m-sub-nav{
        width: 186px;
        border: 2px solid #C21068;
        border-top: 0;
        height: 378px;
        overflow: hidden;
        position: absolute;
        top:36px;
        left: 0px;
        font-family: tahoma,\5b8b\4f53,arial;
        z-index: 9999;
        dl{
          padding: 5px 0 10px 0px ;text-justify : auto; text-align:justify;
          dt{
            .fs12();
            .font-st();
            color: #4f4f4f;
            line-height: 2.5em;
            font-weight: bold;
            width: 170px;
            overflow: hidden;
            padding-left: 9px;
          }
          dd{
            line-height: 2em;
            a{
              display: inline-block;
              float: left;
              color: #826f6f;
              white-space: nowrap;
              padding-left: 9px;
              &:hover{
                color: #fa3434;
              }
            }
          }
        }
      }
    }
    .each {
      position: relative;
      .light{background: @navhover;} 
      a{
        display: inline-block;
        width: 98px;
        text-align: center;
        line-height: 36px;
        font-size: 14px;
        color: white;
        .font-yh();
        &:hover {
          background: @navhover;
        }
      }
      .z-crt{
        background: @navhover;
      }
    }
  }
}
.g-wrap{
  width: 1190px; margin:0 auto;position:relative;
}



//底部
.g-ft-bd {
  border-top: 1px solid #ddd;
  background-color: #f9f9f9;
  margin-top: 30px;
}
.mod-wrap-index {
  width: 991px;
  margin: auto;
  overflow: hidden;
}
.helper-box .helper {
  margin-left: -1px;
  width: 1200px;
}
.heaper_list {
  float: left;
  margin-top: 15px;
  margin-bottom: 40px;
  padding: 0 10px;
  width: 177px;
  color: #666;
  line-height: 26px;
  display: inline;
  border-left: 1px solid #fff;
  border-right: 1px solid #e6e6e6;
  overflow: hidden;
  height:162px;
 dd {
    font-weight: 0;
    width: 145px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-left: 32px;
   a{
     &:hover{ color: #eb2323}
   }
  }
  s {
    display: block;
    float: left;
    width: 30px;
    height: 30px;
    background: url("../../web/img/surprise.png")no-repeat;
    &.i-gwzn{ background-position: 0 -215px; }
    &.i-play{ background-position: 0 -248px; }
    &.i-zshz{ background-position: 0 -283px; }
    &.i-company{ background-position:0 -315px; }
    &.i-public{ background-position: 0 -349px; }
  }
  dt {
    font-size: 16px;
    font-family: \5FAE\8F6F\96C5\9ED1;
    padding-bottom: 5px;
    strong {
      font-weight: 400;
    }
  }
}


.g-ft-ft {
  background-color: #f9f9f9;
  color: #858585;
  line-height: 22px;
  padding-top: 10px;
  position: relative;
  overflow: hidden;
  z-index: 10;
  .copyright {
    padding-top: 15px;
    padding-bottom: 10px;
    border-top: 1px dotted #ddd;
  }
}

.mod-wrap-index {
  width: 991px;
  margin: auto;
}

.companyInfo_link {
  overflow: hidden;
  text-align: center;
  .companyInfo_bd {
    margin-left: -9px;
    a {
      border-left: 1px solid #e6e6e6;
      padding: 0 7px 0 8px;
    }
  }
  .companyInfo_ft {
    color: #989898;
    font-family: "arial";
  }
}


//商品列表
.m-goods-list{
  width: 100%;
  ul{
    .oh();
    width:1200px;
    li{
      width:230px;
      background-color: #f9f9f9;
      .fl();
      margin: 10px 10px 0 0;
      position: relative;
      display: inline;
     .oh();
      &:hover{
        background-color: #fff0f3;
        img{.opacity(85); border: none}
      }
      .goods-info{
        display: block;
        width: 230px;
        overflow: hidden;
        img{
          width: 230px;
          height: 230px;
          border: none;
        }
        h4{
          .fs14();
          height:18px;
          font-weight: 400;
          padding: 5px 10px;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          cursor: pointer;
          color: #4f4f4f;
        }
        &:hover{
          text-decoration: underline;color: #eb2323;
          h4{ color: #eb2323}
        }
      }
      .price {
        width: 210px;
        padding: 0px 10px 5px;
        font-size: 14px;
        color: #333;
        .new-price{
          display: block;
          i{
            font-style: normal;
            .font-yh();
            font-size: 12px;
            color: #ff3366; 
          }
          em{
            font-family: arial;
            font-size: 14px;
            color: #e30d7c;
            font-weight: bold;
          }
        }
        del{
          display: block;
          color: #4f4f4f;
          font-size: 12px;
          float: right;
        }
      }
      p{
        width: 170px;
        padding: 5px 10px;
        span{
          color: #bc7247;
          font-weight: bold;
        }
      }

      .goods-wrap{
        div{background-color: #000000;.opacity(40); width: 190px; height: 300px; position: absolute;z-index: 998;top: 0;}
        span{ display: block;width:92px;height: 92px;position: absolute; top: 70px;left: 46px;z-index: 999; background: url("../img/surprise.png") -53px -70px no-repeat;}
      }
    }
  }
}


a#backToTop{ 
     position: fixed;
     display:none;
     right: 50%;
     margin-right:-670px;
     bottom:100px;
     overflow: hidden;
     width:30px;
     height: 30px; 
     padding:10px;
     text-align: center;
     line-height: 15px;
     background-color:#f5f5f5;
     border: 1px solid #ebebeb;
     _position:absolute; 
     _top:~'expression(documentElement.scrollTop+documentElement.clientHeight-this.offsetHeight-100)';
     _left:~'expression(documentElement.scrollLeft+documentElement.clientWidth-this.offsetWidth-20)';
     -moz-transition: background-color 0.5s ease;
     -webkit-transition: background-color 0.5s ease;
     -o-transition: background-color 0.5s ease;
     transition: background-color 0.5s ease;
     font-size: 0;
     &:hover{
      background-color:#999;
      color:#fff;
      font-size: 12px;
      span{
        display:none;
      }
     }
     span{ 
     position: absolute;
     left: 50%;
     line-height: 0;
     overflow: hidden;
     cursor: pointer;
     }
  }
    
.u-backtotop-rect1{ 
     background-color: #9c9c9c;
     width: 25px;
     height: 2px;
     top: 10px;
     margin-left: -13px
     }
.u-backtotop-polygon{ 
     width: 0;
     height: 0;
     border-color: transparent transparent #9c9c9c transparent;
     border-style: dashed dashed solid dashed;
     border-width: 0 13px 13px 12px;
     top: 15px;
     margin-left: -13px
     }
.u-backtotop-rect2{ 
     background-color: #9c9c9c;
     width: 11px;
     height: 12px;
     top: 27px;
     margin-left: -6px
     }
@media (max-width: 1200px){
  .g-wrap{ width:990px}
a#backToTop{ margin-right:-567px; }
} 
.w990{
  a#backToTop{ margin-right:-567px; }
}